package serie04;

public enum Civ {
	UKN(""), MR("M."), MRS("Mme."), MS("Mlle.");
	
	private final String expand;
	Civ(String expand) {
		this.expand = expand;
	}
	
	public String toString() {
		return expand;
	}
	
	public boolean canEvolveTo(Civ c) {
		return (this == UKN && ((c == MR) || (c == MRS) || (c == MS))) 
		        || ((this == MRS) && (c == MS))
		        || ((this == MS) && (c == MRS));
	}
}
